/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/dingdan">dingdan</a> All rights reserved.
 */
package com.thinkgem.dingdan.modules.bu.entity;


import java.util.Date;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.dingdan.common.persistence.DataEntity;

/**
 * 主子表生成Entity
 * @author ThinkGem
 * @version 2018-08-26
 */
public class BuOrderCp extends DataEntity<BuOrderCp> {
	
	private static final long serialVersionUID = 1L;
	private String orderNo;		// 订单编号(自动生成)
	private String productNo;		// 生成编号
	private String orderDate;		// 下单日期
	private Date shipDate;		// 出货日期
	private String productName;		// 产品名称
	private String crafts;		// 工艺
	private String electroplate;		// 电镀
	private String back;		// 背面
	private String packages;		// 包装
	private String fitting;		// 配件
	private String picUrl;		// 图片
	private String quantity;		// 数量
	private String salesPrice;		// 销售单价
	private String salesModelFee;		// 销售模费
	private String produceFee;		// 生产单价
	private String produceModelFee;		// 生产模费
	private String salesTotalFee;		// 销售总价
	private String produceTotalFee;		// 生产总价
	private String customerId;		// 客户ID
	private String supplierId;		// 供应商ID
	private String orderId;		// 订单ID
	
	public BuOrderCp() {
		super();
	}

	public BuOrderCp(String id){
		super(id);
	}

	@Length(min=0, max=64, message="订单编号(自动生成)长度必须介于 0 和 64 之间")
	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	
	@Length(min=0, max=64, message="生成编号长度必须介于 0 和 64 之间")
	public String getProductNo() {
		return productNo;
	}

	public void setProductNo(String productNo) {
		this.productNo = productNo;
	}
	
	public String getOrderDate() {
		return orderDate;
	}

	public void setOrderDate(String orderDate) {
		this.orderDate = orderDate;
	}
	
	public Date getShipDate() {
		return shipDate;
	}

	public void setShipDate(Date shipDate) {
		this.shipDate = shipDate;
	}
	
	@Length(min=0, max=64, message="产品名称长度必须介于 0 和 64 之间")
	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}
	
	@Length(min=0, max=64, message="工艺长度必须介于 0 和 64 之间")
	public String getCrafts() {
		return crafts;
	}

	public void setCrafts(String crafts) {
		this.crafts = crafts;
	}
	
	@Length(min=0, max=64, message="电镀长度必须介于 0 和 64 之间")
	public String getElectroplate() {
		return electroplate;
	}

	public void setElectroplate(String electroplate) {
		this.electroplate = electroplate;
	}
	
	@Length(min=0, max=64, message="背面长度必须介于 0 和 64 之间")
	public String getBack() {
		return back;
	}

	public void setBack(String back) {
		this.back = back;
	}
	
	@Length(min=0, max=64, message="包装长度必须介于 0 和 64 之间")
	public String getPackages() {
		return packages;
	}

	public void setPackages(String packages) {
		this.packages = packages;
	}
	
	@Length(min=0, max=64, message="配件长度必须介于 0 和 64 之间")
	public String getFitting() {
		return fitting;
	}

	public void setFitting(String fitting) {
		this.fitting = fitting;
	}
	
	@Length(min=0, max=255, message="图片长度必须介于 0 和 255 之间")
	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}
	
	@Length(min=0, max=11, message="数量长度必须介于 0 和 11 之间")
	public String getQuantity() {
		return quantity;
	}

	public void setQuantity(String quantity) {
		this.quantity = quantity;
	}
	
	public String getSalesPrice() {
		return salesPrice;
	}

	public void setSalesPrice(String salesPrice) {
		this.salesPrice = salesPrice;
	}
	
	public String getSalesModelFee() {
		return salesModelFee;
	}

	public void setSalesModelFee(String salesModelFee) {
		this.salesModelFee = salesModelFee;
	}
	
	public String getProduceFee() {
		return produceFee;
	}

	public void setProduceFee(String produceFee) {
		this.produceFee = produceFee;
	}
	
	public String getProduceModelFee() {
		return produceModelFee;
	}

	public void setProduceModelFee(String produceModelFee) {
		this.produceModelFee = produceModelFee;
	}
	
	public String getSalesTotalFee() {
		return salesTotalFee;
	}

	public void setSalesTotalFee(String salesTotalFee) {
		this.salesTotalFee = salesTotalFee;
	}
	
	public String getProduceTotalFee() {
		return produceTotalFee;
	}

	public void setProduceTotalFee(String produceTotalFee) {
		this.produceTotalFee = produceTotalFee;
	}
	
	@Length(min=0, max=64, message="客户ID长度必须介于 0 和 64 之间")
	public String getCustomerId() {
		return customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}
	
	@Length(min=0, max=64, message="供应商ID长度必须介于 0 和 64 之间")
	public String getSupplierId() {
		return supplierId;
	}

	public void setSupplierId(String supplierId) {
		this.supplierId = supplierId;
	}
	
	@Length(min=0, max=64, message="订单ID长度必须介于 0 和 64 之间")
	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	
}